using Common.Communal;
using MediatR;
using System;

namespace Product.API.Write.Applications.Commands.ProcessRoute
{
    /// <summary>
    /// 工艺路线修改命令
    /// </summary>
    public class UpdateProcessRouteCommand : IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 自增主键ID
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 工艺路线编号（GUID）
        /// </summary>
        public Guid ProcessRouteNumber { get; set; } = Guid.NewGuid();

        /// <summary>
        /// 工艺路线名称
        /// </summary>
        public string ProcessRouteName { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public bool Status { get; set; } = true;

        /// <summary>
        /// 说明
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remarks { get; set; }
    }
}


